package com.ai.networking.websocket.service.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * ===============================
 * Created with IntelliJ IDEA.
 * UserPO:Mr.Chen
 * Date:2018/6/15
 * Time:10:08
 * ===============================
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}
